﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using Model.ModiFication;
using BLL.ModiFBLL;
namespace WebService
{
    /// <summary>
    /// ModiFica 的摘要说明
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    // 若要允许使用 ASP.NET AJAX 从脚本中调用此 Web 服务，请取消注释以下行。 
    // [System.Web.Script.Services.ScriptService]
    public class ModiFica : System.Web.Services.WebService
    {
        bll op=new bll();

        [WebMethod]
        public string HelloWorld()
        {
            return "Hello World";
        }
        [WebMethod]
        public EmployeeLoginInfo_Tab Empl(int EmployID)
        {
            return op.Empl(EmployID);
        }
        [WebMethod]
        public Position_Tab Posi(int id, int PositionID)
        {
            return op.Posi(id, PositionID);
        }
        [WebMethod]
        public List<Dept_Tab> Delist()
        {
            return op.Delist();
        }
        [WebMethod]
        public Dept_Tab dept(int id)
        {
            return op.dept(id);
        }
        [WebMethod]
        public int AddPer(PersonChange_Tab s)
        {
            return op.AddPer(s);
        }
        [WebMethod]
        public List<PersonChange_Tab> person(int EmployID)
        {
            return op.person(EmployID);
        }
        [WebMethod]
        public PersonChange_Tab demand(int Situation_id)
        {
            return op.demand(Situation_id);
        }
        [WebMethod]
        public List<PersonChange_Tab> YiJi(int PositionID, int DeptID)
        {
            return op.YiJi(PositionID, DeptID);
        }
        [WebMethod]
        public int Tong(int Situation_id)
        {
            return op.Tong(Situation_id);
        }
        [WebMethod]
        public int BuTong(int Situation_id)
        {
            return op.Tong(Situation_id);
        }
        [WebMethod]
        public List<PersonChange_Tab> Er(int PositionID, int DeptID)
        {
            return op.Er(PositionID, DeptID);
        }
        [WebMethod]
        public List<PersonChange_Tab> Ren()
        {
            return op.Ren();
        }
  
    }
}
